import request from '@/utils/request'

// 查询登机口列表
export function listBoardGate(query) {
  return request({
    url: '/ground/board/gate/list',
    method: 'get',
    params: query
  })
}

// 查询登机口详情
export function getBoardGate(boardGateId) {
  return request({
    url: '/ground/board/gate/' + boardGateId,
    method: 'get'
  })
}

// 修改登机口信息
export function updateBoardGate(data) {
  return request({
    url: '/ground/board/gate/edit',
    method: 'put',
    data: data
  })
}

